﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 求租信息
    /// </summary>
    public class HouseWanted
    {
        private int _id;                        // PK

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }


        private int _clientId;                  // FK   客户Id

        public int ClientId
        {
            get { return _clientId; }
            set { _clientId = value; }
        }


        private int _statusCodeId;              // FK   状态码

        public int StatusCodeId
        {
            get { return _statusCodeId; }
            set { _statusCodeId = value; }
        }


        private int _houseTypeId;               // FK   房屋类型Id

        public int HouseTypeId
        {
            get { return _houseTypeId; }
            set { _houseTypeId = value; }
        }


        private int _leaseModeId;               // FK   出租方式Id

        public int LeaseModeId
        {
            get { return _leaseModeId; }
            set { _leaseModeId = value; }
        }


        private float _priceCeiling;            // 价格上限

        public float PriceCeiling
        {
            get { return _priceCeiling; }
            set { _priceCeiling = value; }
        }


        private float _priceFloor;              // 价格下限

        public float PriceFloor
        {
            get { return _priceFloor; }
            set { _priceFloor = value; }
        }


        private string _destAddress;            // 期望地点

        public string DestAddress
        {
            get { return _destAddress; }
            set { _destAddress = value; }
        }


        private string _publishTime;            // 发布时间

        public string PublishTime
        {
            get { return _publishTime; }
            set { _publishTime = value; }
        }
    }
}
